package com.example.jenkins.controller;

import com.example.common.utils.Result;
import com.example.common.utils.ResultUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap;
import java.util.Map;


@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/jenkinsTest")
    public Result<Map> test(){
        System.out.println("test");
        Map<String,Object> map=new HashMap<String,Object>();
        map.put("statu","ok3");
        return ResultUtil.data(map);
    }
}
